package cn.huihuo.weibo.module;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * ProductPic
 *
 * @author Dan
 * @date 2015/8/29
 */
public class ProductPic  extends Model<ProductPic> {
    public static final ProductPic productPic= new ProductPic();

    public List<ProductPic> findByProductId(Integer prodId){
        return find("select * from productpic t where t.prod_id=?",prodId);
    }


}
